package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
//这个相当于servlet
public class UserController {
    //注解相当于虚拟路径 ()里的东西相当于传递的方法
    @RequestMapping("/save")
    public String save(){
        System.out.println("UserController#save ...");
        return "success.jsp";
    }
}
